﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ARS.Master" AutoEventWireup="true" CodeBehind="SearchBookings.aspx.cs" Inherits="NUS.ISS.ARS.Web.Booking.SearchBookings" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="loginbox" style="margin-top: 5%;" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
	    <div class="panel panel-info well">
            <div>
                <asp:Label ID="lblMsg" runat="server" Text="" class="col-md-16 control-label errMsg"></asp:Label>
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" class="errorSummary" HeaderText="Error Summary"/>
            </div>

		    <div class="panel-heading">
			    <div class="panel-title">Search Bookings</div>
		    </div>

            <div style="padding-top: 30px" class="panel-body">            
	        <form id="loginform" class="form-horizontal" role="form">
                <div class="form-group">
				    <label class="col-md-4 control-label" for="txtBookingRef">Reference Number:</label>
                    <div class="col-md-6">
                        <asp:TextBox ID="txtBookingRef" name="txtBookingRef" runat="server" class="form-control input-md"></asp:TextBox>                        
                    </div>
                    <div class="error">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="txtBookingRef" ErrorMessage="Reference number is required.">*</asp:RequiredFieldValidator>
                    </div>
			    </div>

                <div class="form-group">
				    <label class="col-md-4 control-label" for="txtFirstName">First Name:</label>
                    <div class="col-md-6">
                        <asp:TextBox ID="txtFirstName" name="txtFirstName" runat="server" class="form-control input-md"></asp:TextBox>
                    </div>
                    <div class="error">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ControlToValidate="txtFirstName" ErrorMessage="First name is required.">*</asp:RequiredFieldValidator>
                     </div>
			    </div>

                <div class="form-group">
				    <label class="col-md-4 control-label" for="txtLastName">Last Name:</label>
                    <div class="col-md-6">
                        <asp:TextBox ID="txtLastName" name="txtLastName" runat="server" class="form-control input-md"></asp:TextBox>
                    </div>
                    <div class="error">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                            ControlToValidate="txtLastName" ErrorMessage="First name is required.">*</asp:RequiredFieldValidator>
                    </div>
			    </div>

                <div class="form-group">
				    <label class="col-md-7 control-label" for="btnSearch"></label>
				    <div class="col-md-3">					
                        <asp:Button ID="btnSearch" name="btnSearch" runat="server" onclick="btnSearch_Click" Text="Search" class="btn btn-primary"/>
				    </div>
			    </div>                
        </form>
        </div>
	</div>
</div>

<script>

    $(document).ready(function () {
        $("#booking").removeClass("active");
        $("#mybooking").addClass("active");
    });

</script>

<style type="text/css">
.well 
{
    width: 600px;
}
.col-md-offset-3 
{
    margin-left: 5%;
}
.col-md-3 
{
    padding-left: 45px;
}
</style>
</asp:Content>







